﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Demos.DesignPatterns._13_代理模式
{
    /// <summary>
    /// 购物车服务接口
    /// </summary>
    interface ICartService
    {
        ShopCartObject GetCart(string userId);
        void SaveCart(ShopCartObject cart);   
        void AddToCart(string userId,ShopCartItem item);  
        void ClearCart(string userId);
    }
}
